package com.xj;

import com.xj.server.ReadfileService;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class OpenapiAddMenu {

@Autowired
ReadfileService readfileService;
    @Test
    public void test() throws Exception {
        readfileService.redaFile();
    }

    @Test
    public void outputFile() throws Exception {
       readfileService.outputFile();

    }

}
